<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="format-detection" content="telephone=no,email=no">
	<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<link rel="stylesheet" type="text/css" href="${data:dependencies.cmp}/css/cmp.css${data:buildversion}">
	<link rel="stylesheet" type="text/css" href="${data:dependencies.cmp}/css/cmp-dateCalender.css${data:buildversion}">
	<link rel="stylesheet" type="text/css" href="${data:dependencies.cmp}/css/cmp-listView.css${data:buildversion}">
	<link rel="stylesheet" type="text/css" href="${data:dependencies.cmp}/css/cmp-list-card.css${data:buildversion}">
	<link rel="stylesheet" type="text/css" href="${data:dependencies.cmp}/css/cmp-list.css${data:buildversion}">
	<link rel="stylesheet" type="text/css" href="${data:dependencies.commons}/cmp-resources/M1H5.css${data:buildversion}">
	<link rel="stylesheet" type="text/css" href="${data:dependencies.calendar}/css/calender.css${data:buildversion}">
	<title></title>
	<style type="text/css">
	  .time-arrange-hide{display:none !important;}
	  .StatusContainer .text.nocontent_text {margin-top: 0px;}
	  .cmp-content{top:0px !important;}
	</style>
</head>
<body class="cmp-fullscreen">
	${data:initScript}
	<!--
	<header class="cmp-bar cmp-bar-nav head-style">
		<a href="javascript:void(0)" class="cmp-pull-left left-btn time-arrange-back" id="goBackBtn" >
			<span class="see-icon-v5-common-arrow-back"></span><i18n key="calendar.label.back"></i18n>
		</a>
		<h1 class="cmp-title"></h1>
	</header>
	<header class="cmp-bar cmp-bar-nav cmp-flex-header">
		<div id="goBackBtn" class="cmp-action-back cmp-header-left  time-arrange-back ">
			<span class="cmp-icon see-icon-v5-common-arrow-back"></span>
			<span class="nav-text "><i18n key="calendar.label.back"></i18n></span>
		</div>
		<h1 class="cmp-title"></h1>
		<div id="saveBtn" class="cmp-header-right">
		</div>
	</header>
	-->
	
	<div class="cmp-content sche-content">
		<!-- 日程数据列表 -->
		<div class="schedule_list">
			<ul class="cmp-table-view ul-table-list time-arrange-list"></ul>
		</div>
		
		
	</div>
</body>
	<!-- 	列表模板	 -->
	<script type="text/html" id="time-arrangr-tpl">
	<% for(var i = 0;i < this.length; i++){ %>
	<% 		var arrange	=	this[i]; 		%>
	    <li class="cmp-table-view-cell arrange-item" sid="<%=arrange.id %>" stype="<%=arrange.type %>" summaryId="<%=arrange.summaryId %>">
		    <div class="collaboration-list">
		        <div class="img-wrap">
					<% if(arrange.type == "edoc"){ %>
		            	<span class="m3-icon-document"></span>
		        	<% }else if(arrange.type == "collaboration"){ %>
		            	<span class="m3-icon-coordination-fill"></span>
		        	<% }else if(arrange.type == "calendar"){ %>
		            	<span class="m3-icon-schedule"></span>
		        	<% }else if(arrange.type == "meeting"){ %>
		            	<span class="m3-icon-meeting-fill"></span>
		        	<% }else if(arrange.type == "taskManage"){ %>
		            	<span class="m3-icon-task"></span>
		        	<% }else if(arrange.type == "plan"){ %>
		            	<span class="m3-icon-plan"></span>
		        	<% }	 %>
		        </div>
		        <div class="text-wrap">
		            <ul class="list-item padding_b_5">
		                <li class="collabo-title"><%=arrange.title %></li>
						<% if(arrange.type == "edoc" || arrange.type == "collaboration"){ %>
		                    <span class=""><%=arrange.beginDate %></span>
		                <% } else { 													  %>
		                    <span class=""><%=arrange.beginDate %></span> — <span class=""><%=arrange.endDate %></span>
		                <% }  		 													  %>
		                <li class="collabo-time">
		                </li>
		            </ul>
		        </div>
		    </div>
		</li>
	<% }									  %>
	</script>
	<script src="${data:dependencies.calendar}/i18n/calendar_zh_CN.js${data:buildversion}"></script>  
	<script src="${data:dependencies.cmp}/js/cmp-i18n.js${data:buildversion}"></script>
	<script>
	    cmp.i18n.init("${data:dependencies.calendar}/i18n/","calendar",function(){
	    	document.title = cmp.i18n("calendar.label.todayarrange.title");//"超期待办";
	    });
	</script>
	${data:cordova}
	<script type="text/javascript" src="${data:dependencies.cmp}/js/cmp.js${data:buildversion}"></script>
	<script type="text/javascript" src="${data:dependencies.cmp}/js/cmp-headerFixed.js${data:buildversion}"></script>
	<script type="text/javascript" src="${data:dependencies.calendar}/js/calendar-jssdk.js${data:buildversion}"></script>
	<script type="text/javascript" src="${data:dependencies.jssdk}" id="__jsdktag"></script>
	<script type="text/javascript" src="${data:dependencies.meeting}/meeting_m_api.s3js${data:buildversion}"></script>
	<script type="text/javascript" src="${data:dependencies.edoc}/edoc_m_api.s3js${data:buildversion}"></script>
	<script type="text/javascript" src="${data:dependencies.collaboration}/collaboration_m_api.s3js${data:buildversion}"></script>
	<script type="text/javascript" src="${data:dependencies.calendar}/js/todayArrange.js${data:buildversion}"></script>
	<script type="text/javascript">
		cmp.ready(function(){
			timeArrange.init();
		});
	</script>
</html>